<script type="text/javascript">
$(function(){
  $('#myTabs a[href="#<?=$tab?>"]').tab('show') // Select tab by name
});
</script>
<?php $this->load->view('common/foot');?>